package demo.core.runtime.extension;

import org.osgi.framework.Bundle;

public class Extension {
	public static final int RESOLVED=1;
	public static final int ACTIVE=2;
	
	private Bundle bundle;
	private Object extension;
	private ExtendPoint extendPoint;
	
	public Extension(Bundle bundle,Object extension,ExtendPoint extendPoint){
		this.bundle=bundle;
		this.extension=extension;
		this.extendPoint=extendPoint;
	}

	public Bundle getBundle() {
		return bundle;
	}

	public Object getExtension() {
		return extension;
	}

	public ExtendPoint getExtendPoint() {
		return extendPoint;
	}

}
